package org.shj.ws;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

import java.util.List;

/**
 * @author Shen Huang Jian
 * @date 2020-07-28 16:29
 */
@Data
@JacksonXmlRootElement(localName = "responseInfo")
@JsonIgnoreProperties(ignoreUnknown = true)
public class ResponseInfo {

    @JacksonXmlProperty(localName = "message")
    private String message;

    @JacksonXmlElementWrapper(localName = "subList")
    private List<SubInfo> vehicleInfoList;

}
